package cn.edu.scut.sys.service;

import cn.edu.scut.sys.utils.DataRequest;
import cn.edu.scut.sys.utils.DataResponse;
import cn.edu.scut.sys.vo.User;

public interface UserService {

	public DataResponse<User> list(DataRequest request);
	
	public boolean add(User user);
	
	public User getUser(Long id);
	
	public boolean updateUser(User user) ;
	
	public User getUserByName(String name);
}
